package com.ygp.dtp.common.event;

import com.ygp.dtp.common.config.properties.DtpProperties;
import org.springframework.context.ApplicationEvent;

/**
 * @description: 刷新事件监听器
 * @motto: 代码源于生活，高于生活艺术
 * @author: zhouhengzhe
 * @date: 2022/8/4 16:53
 * @since 1.0
 **/

public class RefreshEvent extends ApplicationEvent {

    private final DtpProperties dtpProperties;

    public RefreshEvent(Object source, DtpProperties dtpProperties) {
        super(source);
        this.dtpProperties = dtpProperties;
    }

    public DtpProperties getDtpProperties() {
        return dtpProperties;
    }
}
